//
//  ViewController.m
//  YUNT
//
//  Created by 梁炜东 on 17/11/8.
//  Copyright © 2017年 梁炜东. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    self.view.backgroundColor = [UIColor whiteColor];
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t) (1.0f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^ {
        
        UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
        
        UITabBarController *controller = (UITabBarController *)[storyboard instantiateViewControllerWithIdentifier:@"tabarViewCtrIdentifier"];
        
        [UIApplication sharedApplication].keyWindow.rootViewController = controller;
    });
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
